package com.bckj.fastboot.paid.biz.infrastructure.sdk;

import com.bckj.fastboot.paid.api.entity.PayConfig;
import lombok.Data;

@Data
public class PayConfigWrapper {
    private String appId;
    private PayConfig payConfig;
    private Object config;

    public static PayConfigWrapper of(String appId, PayConfig payConfig, Object config) {
        PayConfigWrapper wrapper = new PayConfigWrapper();
        wrapper.setAppId(appId);
        wrapper.setPayConfig(payConfig);
        wrapper.setConfig(config);
        return wrapper;
    }
}
